package com.xc.xcoj.judge.strategy;


import com.xc.xcoj.judge.codesandbox.model.JudgeInfo;
import com.xc.xcoj.model.entity.QuestionSubmit;
import com.xc.xcoj.model.enums.QuestionSubmitLanguageEnum;

/**
 * 判题策略
 */
public interface JudgeStrategy {

    /**
     * 执行判题
     * @param judgeContext
     * @return
     */
    JudgeInfo doJudge(JudgeContext judgeContext);

    QuestionSubmitLanguageEnum getLanguage();
}
